<?php
try{
	define('N_MYCONF','test');
	include 'core/Init.php';

	$n = new Controller();
	$d = n_api("debug")->set('test');	//[0:dev,1:test,2:alpha,3:beta,4:public]
	define('N_APP_TYPE','crontab');

	$n->run();
}catch(CException $c){
	n_fault($c);

}catch(PException $p){
	n_alert($p);

}catch(exception $e){
	n_ufo($e);

}
